]> dgit.raspbian.org Git - gnome-shell.git/commit
magnifier: Remove call to dropped Clutter::get_default_frame_rate()
authorSebastian Keller <skeller@gnome.org>
Mon, 8 Nov 2021 04:00:47 +0000 (05:00 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 16 Nov 2021 23:34:38 +0000 (23:34 +0000)
commit34bf17ad2705601f12db12fa0d2e14cc6ded4f9a
treee5e2b5a5020a93f6064346975ee1bc04f33994b2
parentff60137da2bdefd68367234eb598dc9f6adbb2ac
magnifier: Remove call to dropped Clutter::get_default_frame_rate()

Clutter::get_default_frame_rate() has been removed in mutter!2002, but
it is still being used here. Given that this was basically hardcoded to
60 in mutter with the only way of changing this being an obscure
environment variable, just use that value here directly. This avoids a
crash when starting gnome-shell with the magnifier enabled.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4761
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2025>
js/ui/magnifier.js